package ace.module.oauth2.server.core.impl.converter;

import ace.cmp.converter.api.AceConverter;
import java.util.Set;
import org.springframework.security.oauth2.core.AuthorizationGrantType;

/**
 * @author caspar
 * @date 2023/10/12 11:50
 */
public interface AuthorizationGrantTypeToStringConverter
    extends AceConverter<AuthorizationGrantType, String> {
  Set<String> convert(Set<AuthorizationGrantType> sources);

  String convertToString(Set<AuthorizationGrantType> sources);
}
